<div class="widget-container scrollable list task-widget padded">
        <!--<div class="heading"> 
        	<i class="icon-align-justify"></i>任务列表 
        	<span class="pull-right"></span> 
        </div>-->
        <div class="widget-content">
          <ul>
        	<?php  $alltask=count($tasklist);$done=0;$undone=0; ?>
            <?php foreach($tasklist as $v){ ?>
                <li onClick="_openWindow('{:U('Task_daily/view',['id'=>$v['id']])}',500, '查看任务', '取消',null,'')" >
                  <label>
                      <span>
                        <?= $v['title'] ?>
                      </span>
                      <div class="label label-<?= $v['status']==5?'success':'warning' ?> pull-right">
                        <?php switch($v['status']){
                        		case 0:
                                	echo('驳回');
                                    break;
                        		case 3:
                                	echo('待审核');
                                    break;
                        		case 4:
                                	echo('待评分');
                                    break;
                        		case 5:
                                	echo('已完成');
                                    break;
                                default:
                                	echo('进行中');
                                    break;
                        } ?>
                      </div>
                      <div class="pull-right text-muted">参与人：
                        <?= empty($v['member_name'])?'无':$v['member_name'] ?>
                        &nbsp;&nbsp;
                      </div>
                  </label>
                </li>
            <?php } ?>
          </ul>
        </div>
</div>